<html>
    <head>
        <title>测试FreeMarker页面渲染</title>
    </head>
    <body>
    <#list list as item >
    <div style="color: red">${item}</br></div>
    </#list>
    <#if val?exists>
        <p>param:${val}</br></p>
    <#else>
        <p>param:empty</br></p>
    </#if>
    </body>
</html>